Class ProfilingTimer

java.lang.Object
jeresources.profiling.ProfilingTimer

public class ProfilingTimer extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    ProfilingTimer(net.minecraft.commands.CommandSource sender, int chunkCount)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    endChunk(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> worldRegistryKey)
     
    long
    getBlocksPerLayer(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> worldRegistryKey)
     
    boolean
     
    void
    startChunk(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> worldRegistryKey)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ProfilingTimer

      public ProfilingTimer(net.minecraft.commands.CommandSource sender, int chunkCount)
  • Method Details

    • startChunk

      public void startChunk(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> worldRegistryKey)
    • endChunk

      public void endChunk(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> worldRegistryKey)
    • complete

      public void complete()
    • isCompleted

      public boolean isCompleted()
    • getBlocksPerLayer

      public long getBlocksPerLayer(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> worldRegistryKey)